<%@page import="java.util.Date"%>
<%@page import="com.wodwl.configuration.ResourceConfiguration"%>
<%@page import="com.wodwl.entity.Resource"%>
<%@page import="com.wodwl.entity.User"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<%@include file="../templete/head.jsp"  %>
	<style type="text/css">
		
		.mainRight .btn{
			float: right;
			margin-right: 5px;
		}
		
		.content ul{
			list-style-type: none;
			display: block;
		}
		.bar span{
			display:inline-block;
			margin-right: 10px;
		}
		.content .title{
			font-size: 24px;
		}
		
		
		.content .con{
			clear:both;
			padding:7px 0 5px 0;
			height: 50px;
			width: 80%;
			overflow: hidden;
		}
		.content .op{
			float: right;
		}
	</style>
	
</head>
<body >
	<%pageContext.setAttribute("linkType", "1");%>
	<%@include file="../templete/banner.jsp"  %>
	<% 
	User request_user=(User)request.getAttribute("request_user");
	if(request_user==null)
		request_user=user;
	%>
	
	
	<div class="mainRight">
		<div class="mainRightBar">
			<div class="title">
				好友基本信息
			</div>
		</div>
		<div class="content">
			<ul>
					<li>用户名：<%=request_user.getUsername() %></li>
					<li>姓名：<%=request_user.getRealname() %></li>
					<li>研究方向：<%=request_user.getResearch() %></li>
					<li>手机：<%=request_user.getTel() %></li>
					<li>Email：<%=request_user.getEmail() %></li>
					<li>QQ：<%=request_user.getQq() %></li>
					<li>个人主页：<a href="<%=request_user.getWeb() %>"><%=request_user.getWeb() %></a></li>
					<li>微博：<a href="<%=request_user.getWeibo() %>"><%=request_user.getWeibo() %></a></li>
				</ul>
				<br/>
				<%
					if(user==request_user){
				%>
				<a href="/user/info_editor1.do?username=<%=user.getUsername()%>"><font color="green">编辑</font></a>
				<%} %>	
		</div>

	</div>
</div>

<%@include file="../templete/footer.jsp"  %>
	
<script type="text/javascript">
	
</script>
</body>
</html>